package com.xyht.sca_s.student_manage_system.modules.workApplicationGroup.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsSearchUserResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_work_group_application_process")
@ApiModel(value="SmsWorkGroupApplicationProcess对象", description="")
public class SmsWorkGroupApplicationProcessDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "流程节点名")
    private String processName;

    @ApiModelProperty(value = "流程对象id：角色id或个人id")
    private String processObjectId;

    @ApiModelProperty(value = "流程对象类型：0个人，1角色")
    private Integer processObjectType;

    @ApiModelProperty(value = "审批流程排序")
    private Integer processSort;

    private SmsSearchUserResp userInfo;

    @ApiModelProperty(value = "流程节点申请人是否可编辑  0：不可编辑  1：可编辑")
    private Boolean processIsApplicationEdit;

    @ApiModelProperty(value = "流程节点是否启用  0：不启用  1：启用")
    private Boolean processIsUse;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date detailAllowTime;

    @ApiModelProperty(value = "是否签名  0：不签名   1：签名")
    private Boolean processIsSign;

    @ApiModelProperty(value = "是否盖章 0：不盖章   1：盖章")
    private Boolean processIsStamp;

    private String processObjectName;

}
